<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>供应商平台</title>
<style>
body {
	text-align: center
}

.div {
	margin: 0 auto;
	width: 400px;
	height: 400px;
}
</style>
</head>
<body>
	<div>
		<div style="color:red;" th:text="${resMsg}">Error Message</div><br/>
		<form action="login.htm" method="post" th:object="${user}">
			<input type="hidden" th:value="${source}"  name="source"/>
			<input type="text" placeholder="Username" th:field="*{username}"
				style="width: 150px;" /> <br /> <br /> <input type="password"
				placeholder="Password" th:field="*{password}" style="width: 150px;" /><br />
			<br />
			<button type="submit">登 录</button>
		</form>
	</div>
</body>
</html>